package org.com.wlc.proxy;

/**
 * @author 王立朝
 * @description 租房代理
 * @date 2021-11-22 09:53:35
 */
public class RentHouseManagerProxy implements RentHouse{

    private MeRent meRent;

    public RentHouseManagerProxy(MeRent meRent) {
        this.meRent = meRent;
    }


    @Override
    public void rentHouse() {
        System.out.println("3室2厅");
        meRent.rentHouse();
        System.out.println("采光好，价格可商量");
    }
}
